package cn.beforedark.yygh.userinfo;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * 用户模块
 */
@SpringBootApplication
@ComponentScan(basePackages = "cn.beforedark.yygh")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "cn.beforedark.yygh") // 调用其他服务，openFeign 需要这个注解
public class ServiceUserinfoApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceUserinfoApplication.class, args);
    }
}
